﻿using CoreLib;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace CoreLibTestProject
{
    
    
    /// <summary>
    ///This is a test class for CDrawableComponentTest and is intended
    ///to contain all CDrawableComponentTest Unit Tests
    ///</summary>
    [TestClass()]
    public class CDrawableComponentTest
    {


        private TestContext testContextInstance;

        /// <summary>
        ///Gets or sets the test context which provides
        ///information about and functionality for the current test run.
        ///</summary>
        public TestContext TestContext
        {
            get
            {
                return testContextInstance;
            }
            set
            {
                testContextInstance = value;
            }
        }

        #region Additional test attributes
        // 
        //You can use the following additional attributes as you write your tests:
        //
        //Use ClassInitialize to run code before running the first test in the class
        //[ClassInitialize()]
        //public static void MyClassInitialize(TestContext testContext)
        //{
        //}
        //
        //Use ClassCleanup to run code after all tests in a class have run
        //[ClassCleanup()]
        //public static void MyClassCleanup()
        //{
        //}
        //
        //Use TestInitialize to run code before running each test
        //[TestInitialize()]
        //public void MyTestInitialize()
        //{
        //}
        //
        //Use TestCleanup to run code after each test has run
        //[TestCleanup()]
        //public void MyTestCleanup()
        //{
        //}
        //
        #endregion


        /// <summary>
        ///A test for CDrawableComponent Constructor
        ///</summary>
        [TestMethod()]
        public void CDrawableComponentConstructorTest()
        {
            Game g = null; // TODO: Initialize to an appropriate value
            CDrawableComponent target = new CDrawableComponent(g);
            Assert.Inconclusive("TODO: Implement code to verify target");
        }

        /// <summary>
        ///A test for Draw
        ///</summary>
        [TestMethod()]
        public void DrawTest()
        {
            Game g = null; // TODO: Initialize to an appropriate value
            CDrawableComponent target = new CDrawableComponent(g); // TODO: Initialize to an appropriate value
            GameTime gameTime = null; // TODO: Initialize to an appropriate value
            target.Draw(gameTime);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for LoadContent
        ///</summary>
        [TestMethod()]
        [DeploymentItem("CoreLib.dll")]
        public void LoadContentTest()
        {
            PrivateObject param0 = null; // TODO: Initialize to an appropriate value
            CDrawableComponent_Accessor target = new CDrawableComponent_Accessor(param0); // TODO: Initialize to an appropriate value
            target.LoadContent();
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for AssetName
        ///</summary>
        [TestMethod()]
        public void AssetNameTest()
        {
            Game g = null; // TODO: Initialize to an appropriate value
            CDrawableComponent target = new CDrawableComponent(g); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.AssetName = expected;
            actual = target.AssetName;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for RenderModel
        ///</summary>
        [TestMethod()]
        public void RenderModelTest()
        {
            Game g = null; // TODO: Initialize to an appropriate value
            CDrawableComponent target = new CDrawableComponent(g); // TODO: Initialize to an appropriate value
            Model expected = null; // TODO: Initialize to an appropriate value
            Model actual;
            target.RenderModel = expected;
            actual = target.RenderModel;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for TextureName
        ///</summary>
        [TestMethod()]
        public void TextureNameTest()
        {
            Game g = null; // TODO: Initialize to an appropriate value
            CDrawableComponent target = new CDrawableComponent(g); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.TextureName = expected;
            actual = target.TextureName;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for World
        ///</summary>
        [TestMethod()]
        public void WorldTest()
        {
            Game g = null; // TODO: Initialize to an appropriate value
            CDrawableComponent target = new CDrawableComponent(g); // TODO: Initialize to an appropriate value
            Matrix expected = new Matrix(); // TODO: Initialize to an appropriate value
            Matrix actual;
            target.World = expected;
            actual = target.World;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for game
        ///</summary>
        [TestMethod()]
        public void gameTest()
        {
            Game g = null; // TODO: Initialize to an appropriate value
            CDrawableComponent target = new CDrawableComponent(g); // TODO: Initialize to an appropriate value
            Game expected = null; // TODO: Initialize to an appropriate value
            Game actual;
            target.game = expected;
            actual = target.game;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
    }
}
